import { IParam } from '@/core';
import { Sys_api_operationUIServiceBase } from './sys-api-operation-ui-service-base';

/**
 * 接口方法UI服务
 * 基于template/src/ui-service/{{appEntities}}/{{appEntities}}-ui-service.ts.hbs生成
 *
 * @export
 * @class Sys_api_operationUIService
 * @extends Sys_api_operationUIServiceBase
 */
export class Sys_api_operationUIService extends Sys_api_operationUIServiceBase {
	/**
	 * 基础UI服务实例
	 *
	 * @private
	 * @type { Sys_api_operationUIService }
	 * @memberof Sys_api_operationUIService
	 */
	private static basicUIServiceInstance: Sys_api_operationUIService;

	/**
	 * UI服务存储Map对象
	 *
	 * @private
	 * @type {Map<string, any>}
	 * @memberof Sys_api_operationUIService
	 */
	private static UIServiceMap: Map<string, any> = new Map();

	/**
	 * Creates an instance of Sys_api_operationUIService.
	 * @memberof Sys_api_operationUIService
	 */
	constructor(opts?: IParam) {
		super(opts);
	}

	/**
	 * 获取实例
	 *
	 * @static
	 * @param 应用上下文
	 * @return {*}  { Sys_api_operationUIService }
	 * @memberof Sys_api_operationUIService
	 */
	static getInstance(opts?: IParam): Sys_api_operationUIService {
		if (!this.basicUIServiceInstance) {
			this.basicUIServiceInstance = new Sys_api_operationUIService(opts);
		}
		return this.basicUIServiceInstance;
	}
}
export default Sys_api_operationUIService;
